
#include <BColor>
#include "member_BMaterial.h"

using namespace BWE;

member_BMaterial::member_BMaterial(BMaterial* material)
{
	boss = material;

	ambient.set(80);
	ambientColor.r() = ambient.r() / 255.0f;
	ambientColor.g() = ambient.g() / 255.0f;
	ambientColor.b() = ambient.b() / 255.0f;
	ambientColor.a() = ambient.a() / 255.0f;

	diffuse.set(200);
	diffuseColor.r() = diffuse.r() / 255.0f;
	diffuseColor.g() = diffuse.g() / 255.0f;
	diffuseColor.b() = diffuse.b() / 255.0f;
	diffuseColor.a() = diffuse.a() / 255.0f;

	specular.set(80);
	specularColor.r() = specular.r() / 255.0f;
	specularColor.g() = specular.g() / 255.0f;
	specularColor.b() = specular.b() / 255.0f;
	specularColor.a() = specular.a() / 255.0f;

	shininess = 20;
}
member_BMaterial::~member_BMaterial()
{

}
